use std::convert::TryInto;

fn main() {
    let a: i32 = 10;
    let b: u16 = 100;

    let b_ = b.try_into() //来自TryInto引入try_into的trait 
              .unwrap();

    if a < b_ {
        println!("Ten is less than one hundred");
    }
}
